<?php
/**
 * BasicInfo
 * 
 * @author Administrator
 * @version 
 */
require_once 'Zend/Db/Table/Abstract.php';
class Application_Model_DbTable_BasicInfo extends Zend_Db_Table_Abstract
{
    /**
     * The default table name 
     */
    protected $_name = 'basicInfo';
    
    public function fetchOne($data){
    	$where = $this->select()->where("username='{$data['username']}'")
    					->where("password='{$data['password']}'");
    	return $this->fetchRow($where);
    }
}
